package com.ssy.lingxi.purchase.api.dto.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 通用ID - 分页 - 请求实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/9/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CommonIdPageRequest extends PageVO {
    private static final long serialVersionUID = 512857378120342693L;

    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;
}
